package com.jy.adscm.operation.aftersales.service;

import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.operation.aftersales.bean.ShRepairUpkeepMaterialList;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.security.utils.Token;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2019-08-29
 */
public interface ShRepairUpkeepMaterialListService extends IService<ShRepairUpkeepMaterialList> {

    boolean insertShRepairUpkeepMaterialList(ShRepairUpkeepMaterialList shRepairUpkeepMaterialList) throws AdscmSystemException;

    boolean deleteShRepairUpkeepMaterialList(Integer id, Token token) throws AdscmSystemException;

    List<ShRepairUpkeepMaterialList> selectBypid(Integer pid);
}
